import { ref } from "vue"

export function useConfig() {
    const detailData = ref([
        {
            type:"text",
            prop:"code",
            name:"角色编码",
            value:null
        },
        {
            type:"text",
            prop:"name",
            name:"角色名称",
            value:null
        },
        {
            type:"text",
            prop:"isEnabled",
            name:"是否启用",
            value:null
        },
        {
            type:"text",
            prop:"department",
            name:"部门",
            value:null
        },
        {
            type:"text",
            prop:"remarks",
            name:"备注",
            value:null
        }
    ])

    return {
        detailData
    }
}

